#include "sucessconnectwidget.h"

SucessConnectWidget::SucessConnectWidget(QWidget *parent) : QWidget(parent)
{
    layout = new QHBoxLayout(this);
    layout->setContentsMargins(0,0,0,0);
    list = new QListWidget;
    list->insertItem(0, "基本信息");

    list->insertItem(1, "安装应用");
    content = new ContentWidget;
    layout->addWidget(list);
    layout->addWidget(content);

    layout->setStretchFactor(list, 1);
    layout->setStretchFactor(content,2);

    connect(list, SIGNAL(currentRowChanged(int)), content, SLOT(setCurrentIndex(int)));

}
